package com.ygqh.localsign.response;

import lombok.Data;

import java.io.Serializable;

/**
 * 〈〉
 *
 * @author guohao
 * @date 2019/3/20 10:38
 * @since 1.0.0
 */
@Data
public abstract class AbstractResponse implements Serializable {
    private static final long serialVersionUID = 565596425845588255L;

    private String code;

    private String message;

    public boolean ok() {
        return "10000".equals(code);
    }

}
